html,
body {
  font-size: 100px;
  padding: 0;
  margin: 0;
  width: 100%;
  // height: 100%;

  div {
    //font-size: .14rem;
  }
}

body {
  display: flex;
  flex-direction: column;
  // min-height: 100vh;
  font-size: 1rem;
}

//******************************* 修改vant组件默认样式 start *********************
:deep(.van-dropdown-menu) {
  width:7rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

:deep(.van-dropdown-menu__bar) {
  width: 100%;
  height: 26px;
  border-radius: 8px;
  border: 1px solid;
  border-image: linear-gradient(90deg, rgba(10.000000353902578, 150.0000062584877, 215.0000023841858, 1), rgba(118.00000056624413, 36.00000165402889, 255, 1)) 2 2;
  background: transparent; // 设置背景色为透明
}

:deep(.van-cell__title) {
  // 去除 flex: 1; 属性
  flex: 14;
}

:deep(.van-icon-success):before {
  content: ""; // 移除对号
}

:deep(.van-popup-top) {
  top: 0;
  left: 3px;
}

:deep(.van-field){
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
:deep(.van-dropdown-item__option) {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

:deep(.van-dropdown-item) {
  background: transparent;
  width: 25%;
  position: fixed;
  top: 0;
  left: 69.5%;
}

:deep(.van-overlay) {
  background: transparent;
}

:deep(.van-cell) {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 16px;
}

:deep(.van-ellipsis) {
  font-family: Source Han Sans, Source Han Sans;
  font-weight: 500;
  font-size: 14px;
  color: #FFFFFF;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

:deep(.van-field) {
  background: url('@/assets/img/Rectangle15.png') no-repeat;
  background-size: 100%;
  font-size: 1rem;

}

:deep(.van-field__control) {
  color: #fff;
}

:deep(.van-popup) {
  //backgroundColor:'background: #2F2665;
}

//******************************* 修改vant组件默认样式 end *********************

//******************************* 公共样式 start *********************
// 按钮禁用状态
.button_disabled {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0px 8px 0px 0px #494566;
}

.usdtIcon {
  width: 40px;
  height: 40px;
}

//******************************* 公共样式 end *********************

// popup 标题样式
.popHeader {
  width: 100%;
  text-align: left;
  position: sticky;
  top: 0;
  left: 0;

  .custom-search-icon {
    cursor: pointer;
    width: .8rem;
    //height: 20px;
    margin-left: 10px;
  }

  .popTitle {
    font-family: Source Han Sans, Source Han Sans;
    font-weight: 700;
    font-size: 24px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin: .8rem 0;

    span {
      font-family: Source Han Sans, Source Han Sans;
      font-weight: 500;
      font-size: 14px;
      color: rgba(255, 255, 255, 0.7);
      text-align: left;
      font-style: normal;
      text-transform: none;
    }
  }
}

//token 和 network公共样式
.content {
  height: 60%;
  overflow-y: auto;

  .body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    //margin-right: 10px;
    margin: 1rem 10px;

    .body_left {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: flex-start;

      .name {
        font-family: Source Han Sans, Source Han Sans;
        font-weight: 500;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.7);
        text-align: left;
        font-style: normal;
        text-transform: none;
      }

      .symbol {
        font-family: Source Han Sans, Source Han Sans;
        font-weight: 700;
        font-size: 16px;
        color: #FFFFFF;
        text-align: left;
        font-style: normal;
        text-transform: none;
      }
    }

    .body_right {
      img {
        width: 40px;
        height: 40px;
      }
    }
  }
}

// token 样式
.token {

  display:flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;


  .tokenBody {

    .tokenBody_left {
      .iconNameBox {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        .icon {
          img {
            width: 40px;
            height: 40px;
            margin-right: 10px;
          }
        }
      }
    }

    .tokenBody_right {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: flex-end;

      .num {
        font-family: Source Han Sans, Source Han Sans;
        font-weight: 500;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.7);
        text-align: left;
        font-style: normal;
        text-transform: none;
      }

      .amount {
        font-family: Source Han Sans, Source Han Sans;
        font-weight: 700;
        font-size: 16px;
        color: #FFFFFF;
        text-align: left;
        font-style: normal;
        text-transform: none;
      }
    }

  }
}

// 历史兑换
.historyBody {
  overflow-y: auto;
  height: 80%;
  padding: 10px 0;
  box-sizing: border-box;

  .historyBox {
    background: url("@/assets/img/Rectangle14.png") no-repeat;
    background-size: 100%;
    width:100%;
    height: 13rem;
    padding: 10px;
    box-sizing: border-box;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 0.8rem;

    .date {
      font-family: Source Han Sans, Source Han Sans;
      font-weight: 400;
      font-size: 12px;
      color: #FFFFFF;
      text-align: right;
      font-style: normal;
      text-transform: none;
    }

    .body {
      flex: 1;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;

      .left {

        .info {
          display: flex;
          flex-direction: row;
          // justify-content: space-between;
          align-items: center;

          img {
            margin-right: 10px;
          }

          .text {
            font-family: Source Han Sans, Source Han Sans;
            font-weight: 700;
            font-size: 16px;
            color: #FFFFFF;
            text-align: left;
            font-style: normal;
            text-transform: none;
          }
        }

        .center {
          padding: .1rem 0 .1rem 3rem;
          box-sizing: border-box;

          img {
            width: 18px;
            height: 31px;
          }
        }

      }

      .right {
        img {
          width: 26px;
          height: 26px;
        }
      }
    }


  }
}

// 设置收款地址
.addressBox {
  p {
    font-size: 14px;
    color: #fff;
    text-align: right;
    margin: 0 0 10px 0;

  }

  .btns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    .btn {
      width: 150px;
      height: 42px;
      border-radius: 10px;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      font-family: Source Han Sans, Source Han Sans;
      font-size: 16px;
      line-height: 37px;
      text-align: center;
      font-style: normal;
      text-transform: none;
    }
  }

  .confirm {
    font-weight: 500;
    color: rgba(0, 0, 0, 0.87);
    background: #FFFFFF;
    box-shadow: 0px 8px 0px 0px #00FFFF;
    border-radius: 10px;
  }

  .cancel {
    background: #2F2665;
    box-shadow: 0px 8px 0px 0px rgba(255, 255, 255, 0.32);
    border-radius: 10px;
    border: 1px solid #FFFFFF;
    opacity: 0.7;
    color: #fff;
  }
}

// 图标点击样式
.checked {

}

.container {
  width: 100vw;
  height: 100vh;
  background: #000234;
  //padding: 10px 0 10px 0;
  //box-sizing: border-box;
  // padding-bottom: 30px;
  // box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;


  .parentBox {
    border-radius: 0;
    padding: 0 1rem;
    box-sizing: border-box;
    position: relative;
    z-index: 2;

  }

  .headerBox {
    width: 100%;
    background: url("@/assets/img/Rectangle13.png") no-repeat;
    background-size: 100%;



  }

  .footerBox {
    width: 100%
  }


  .header {
    width: 100%;
    height: 3rem;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .wallet {
    width: 100%;
    display: flex;
    align-items: center;

    .wallet_body {
      width: 7rem;
      height: 30px;
      display: flex;
      padding: 0 5px;
      box-sizing: border-box;
      //justify-content: space-evenly;
      align-items: center;
      background: transparent;
      border: 1px solid #0994D6;
      border-radius: 50px;


      img {
        width: 20px;
        height: 20px;
      }

      .walletText {
        //width: 99px;
        //height: 27px;

        font-family: Inter, Inter;
        font-weight: 400;
        font-size: 12px;
        color: #FFFFFF;
        line-height: 28px;
        text-align: center;
        font-style: normal;
        text-transform: none;
      }
    }


  }


  //提交兑换
  .submit {
    // margin: 30px 0 0 0;
    width: 250px;
    height: 2.5rem;
    background: #FFFFFF;
    box-shadow: 0px 8px 0px 0px #00FFFF;
    border-radius: 10px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;

    span {
      font-family: Source Han Sans, Source Han Sans;
      font-weight: 500;
      font-size: 16px;
      color: rgba(0, 0, 0, 0.87);
      line-height: 37px;
      text-align: center;
      font-style: normal;
      text-transform: none;
    }

  }


  .main {
    width: 100%;

    .title {
      width: 100%;
      height: 48px;
      display: flex;
      justify-content: space-between;
      align-items: center;

      .title_text {
        font-family: Source Han Sans, Source Han Sans;
        font-weight: 700;
        font-size: 20px;
        color: #FFFFFF;
        line-height: 23px;
        text-align: left;
        font-style: normal;
        text-transform: none;
      }

    }


    .content {
      width: 100%;
      background: url("@/assets/img/Rectangle7.png") no-repeat;
      padding: 10px;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      overflow-x: hidden;

      .top {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .box {
          width: 47%;
          height: 3rem;
          background: #2F2665;
          border-radius: 10px;
          display: flex;
          flex-direction: row;
          justify-content: space-evenly;
          align-items: center;

          .text {
            font-family: Source Han Sans, Source Han Sans;
            font-weight: 400;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.7);
            text-align: left;
            font-style: normal;
            text-transform: none;

          }

          .select {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
          }

          .selectText {
            font-family: Source Han Sans, Source Han Sans;
            font-weight: 700;
            font-size: 16px;
            color: #FFFFFF;
            text-align: center;
            font-style: normal;
            text-transform: none;
            margin-right: 10px;
          }

          .angle {
            width: 0;
            height: 0;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-top: 8px solid #fff; /* 你可以更改颜色 */
          }
        }
      }

      .line {
        width: 100%;
        height: 0;
        border: 1px solid #0CE9DD;
        opacity: 0.7;
        margin: 1rem 0;
      }

      .bottom {
        width: 100%;

        .bot_top {
          width: 100%;
          height: 3rem;
          background: #2F2665;
          border-radius: 10px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 10px;
          box-sizing: border-box;

          .balance {
            font-family: Source Han Sans, Source Han Sans;
            font-weight: 700;
            color: #FFFFFF;
            text-align: left;
            font-style: normal;
            text-transform: none;
            border: none;
            background: none
          }

          //.tag {
          //  width: 42px;
          //  height: 22px;
          //  border-radius: 22px;
          //  border: 1px solid #0CE9DD;
          //  opacity: 0.7;
          //  font-family: Source Han Sans, Source Han Sans;
          //  font-weight: 400;
          //  font-size: 14px;
          //  color: #0CE9DD;
          //  text-align: left;
          //  font-style: normal;
          //  text-transform: none;
          //  display: flex;
          //  justify-content: center;
          //  align-items: center;
          //}
        }

        .bot_bottom {
          width: 100%;
          padding: 10px;
          box-sizing: border-box;
          font-family: Source Han Sans, Source Han Sans;
          font-weight: 400;
          font-size: 14px;
          color: #FFFFFF;
          text-align: left;
          font-style: normal;
          text-transform: none;

        }
      }
    }


    //卖出
    .sell_content {
      //height: 15rem;
      background-size: 100% 100%;
    }

    //买入
    .buy_content {
      background-size: 100% 100%;
    }
  }

  .centerImg {
    width: 100%;
    //height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -40px 0 -50px 0;

    .item {
      width: 162px;
      height: 162px;
      // background: url("@/assets/img/circle.png") no-repeat;
      // background-size: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }


  // 您将收到
  .collection {
    width: 100%;
    //height: 100px;
    margin: 1rem 0;

    .collBox {
      display: flex;
      justify-content: space-between;
      align-items: center;

      .collText {
        font-family: Source Han Sans, Source Han Sans;
        font-weight: 500;
        font-size: 16px;
        color: #FFFFFF;
        text-align: left;
        font-style: normal;
        text-transform: none;
      }

      .collContent {
        font-family: Source Han Sans, Source Han Sans;
        font-weight: 500;
        font-size: 20px;
        color: #FFFFFF;
        text-align: left;
        font-style: normal;
        text-transform: none;
      }
    }

    .willColl {

    }

    .collAddress {
      margin: 1rem 0;
      .collContent {
        display: flex;
        justify-content: flex-end;
        align-items: center;

        .address {
          font-family: Source Han Sans, Source Han Sans;
          font-weight: 400;
          font-size: 16px;
          color: #FFFFFF;
          text-align: left;
          font-style: normal;
          text-transform: none;
        }

        .editIcon {
          font-family: Source Han Sans, Source Han Sans;
          font-weight: 400;
          font-size: 16px;
          color: #FFFFFF;
          text-align: left;
          font-style: normal;
          text-transform: none;
          margin-left: 10px;
        }
      }


    }


  }


}
